package smartcode.basetype;

import java.util.Map;

import app.auto.runner.base.intf.MapBuilder;

public class TypeId {
    enum TYPE {
        INT,
        STRING,
        FLOAT,
        DOUBLE,
        BOOLEAN,
        ARR_INT,
        ARR_FLOAT,
        ARR_DOUBLE,
        ARR_STRING,
        ARR_BOOLEAN,
        ARR_BYTE,
        OTHER
    }

//    Map m = MapBuilder.build().add("int", TYPE.INT);

    public TYPE getType(String type) {
        type = type.trim();
        type = type.split(" ")[0];
//        if()
        return TYPE.OTHER;
    }
}
